Template Codes
  

The following data tags can be used to customize the look of the Weather Watcher Live forecast skins. You'll find the skins in the following location:

C:\Program Files\Weather Watcher Live\Skins

The data tags can also be used to customize the data that is displayed in the Export and Log features. Those features can be setup in the "Export" and "Log" tabs of the Weather Watcher Options window.

Unfortunately, there aren't detailed instructions regarding this process, but you should be able to figure the process out if you have a basic understanding of HTML and take a few minutes to look through the *.WTP template files in the "C:\Program Files\Weather Watcher Live\Skins\Forecasts" folder.

The following codes can be used in all of the .WTP template files:


Current Data Tags:

[ALERTS AVAILABLE] = False
[ALERTS COUNT] = N/A
[BAROMETER] = 753.6 mm and steady
[BAROMETER PLAIN] = 753.6
[BAROMETER PLAIN NOT CONVERTED] = 29.67
[BAROMETER HIGH] = 29.62 inches and falling
[BAROMETER HIGH PLAIN] = 29.62
[BAROMETER HIGH PLAIN NOT CONVERTED] = 29.45
[BAROMETER LOW] = 29.45 inches and falling
[BAROMETER LOW PLAIN] = 29.45
[BAROMETER LOW PLAIN NOT CONVERTED] = 29.45
[BAROMETER RATE] = -0.02 inches
[BAROMETER RATE PLAIN] = -0.02
[CONDITION] = Cloudy and Windy
[DATE] = 4/3/2006
[DEW] = 8°C
[DEW DEGREE] = 8°
[DEW PLAIN] = 8
[DEW PLAIN NOT CONVERTED] = 47
[DEW RETURN] = 8°C<BR>
[DEW PARENS] = 8°C
[DOWNLOADED DATETIME] = 4/3/2006 10:37:32 PM
[FEELS] = 10°C
[FEELS DEGREE] = 10°
[FEELS PLAIN] = 10
[FEELS PLAIN NOT CONVERTED] = 50
[FEELS RETURN] = 10°C<BR>
[FEELS PARENS] = 10°C
[HUMIDITY] = 89%
[HUMIDITY PLAIN] = 89
[HUMIDITY HIGH] = 93%
[HUMIDITY HIGH PLAIN] = 93
[HUMIDITY LOW] = 22%
[HUMIDITY LOW PLAIN] = 22
[HUMIDITY RATE] = -1%
[HUMIDITY RATE PLAIN] = -1
[HUMIDITY PLAIN NOT CONVERTED] = 89
[ICON] = C:/Users/HP_Administrator/AppData/Roaming/WeatherWatcherLive/Skins/Icons/WeatherBug/cond003.gif
[OBSERVED DATETIME] = 4/3/06 10:25 PM EDT
[RAIN MONTH] = 0.70 inches
[RAIN MONTH PLAIN] = 0.70
[RAIN MONTH PLAIN NOT CONVERTED] = 0.70
[RAIN RATE] = 0.00 inches
[RAIN RATE PLAIN] = 0.00
[RAIN RATE MAX] = 0.04 inches
[RAIN RATE MAX PLAIN] = 0.04
[RAIN TODAY] = 0.01 inches
[RAIN TODAY PLAIN] = 0.01
[RAIN TODAY PLAIN NOT CONVERTED] = 0.01
[RAIN YEAR] = 6.05 inches
[RAIN YEAR PLAIN] = 6.05
[RAIN YEAR PLAIN NOT CONVERTED] = 6.05
[STATION] = Harrisburg, PA (Camp Curtain School)
[SUNRISE] = 6:48
[SUNRISE AMPM] = 6:48 AM
[SUNSET] = 7:34
[SUNSET AMPM] = 7:34 PM
[TEMP] = 10.3°C
[TEMP ROUND] = 10°C
[TEMP DEGREE] = 10.3°
[TEMP DEGREE ROUND] = 10°
[TEMP PLAIN] = 10.3
[TEMP PLAIN ROUND] = 10
[TEMP PLAIN NOT CONVERTED] = 50.3
[TEMP PLAIN NOT CONVERTED ROUND] = 50
[TEMP RETURN] = 10.3°C<BR>
[TEMP RETURN ROUND] = 10°C<BR>
[TEMP PARENS] = 10.3°C
[TEMP PARENS ROUND] = 10°C
[TEMP RATE] = 0.7°F
[TEMP RATE DEGREE] = 0.7
[TEMP RATE PLAIN] = 0.7
[TEMP HIGH] = 10°C
[TEMP HIGH DEGREE] = 10°
[TEMP HIGH PLAIN] = 10
[TEMP HIGH PLAIN NOT CONVERTED] = 50
[TEMP HIGH RETURN] = 10°C<BR>
[TEMP HIGH PARENS] = 10°C
[TEMP LOW] = 10°C
[TEMP LOW DEGREE] = 10°
[TEMP LOW PLAIN] = 10
[TEMP LOW PLAIN NOT CONVERTED] = 50
[TEMP LOW RETURN] = 10°C<BR>
[TEMP LOW PARENS] = 10°C
[TIME] = 10:37:32 PM
[UPDATED] = Observed Monday, April 3 @ 10:25 PM EDT @ T74002111
Downloaded Monday, April 3 @ 10:37 PM
[WIND] = 11 km/h
[WIND FULL] = NNE 11 km/h
[WIND PLAIN] = 11
[WIND PLAIN NOT CONVERTED] = 7
[WIND NO DIRECTION] = 11 km/h
[WIND NO GUST] = NNE 11 km/h
[WIND DEGREES] = 315
[WIND DEGREES REVERSED] = 135
[WIND DEGREES AVG] = 315
[WIND DIRECTION] = NNE
[WIND DIRECTION PLAIN] = NNE
[WIND DIRECTION AVG] = NNE
[WIND GUST DEGREES] = 22°
[WIND GUST DEGREES PLAIN] = 22
[WIND GUST DIRECTION] = NNE
[WIND GUST DIRECTION PLAIN] = NNE
[WIND GUST] = N/A
[WIND GUST PLAIN] = N/A
[WET BULB TEMP] = 51.3°F
[WET BULB DEGREE] = 51.3°
[WET BULB PLAIN] = 51.3


Hourly Data Tags:

[HOURLY CONDITION] = Rain
[HOURLY DAY] = Monday
[HOURLY DAY ABBREV] = Mon
[HOURLY DN] = D (or N)
[HOURLY DEW] = 8°C
[HOURLY DEW RETURN] = 8°C<BR>
[HOURLY DEW PARENS] = 8°C
[HOURLY FEELS] = 10°C
[HOURLY FEELS RETURN] = 10°C<BR>
[HOURLY FEELS PARENS] = 10°C
[HOURLY HOUR] = 11 PM
[HOURLY HUMIDITY] = 69%
[HOURLY ICON] = C:/Users/HP_Administrator/AppData/Roaming/WeatherWatcherLive/Skins/Icons/WeatherBug/cond003.gif
[HOURLY PRECIPITATION] = 60%
[HOURLY SKY COVER] = 10%
[HOURLY TEMP] = 10°C
[HOURLY TEMP PLAIN] =
[HOURLY TEMP SINGLE PLAIN] =
[HOURLY TEMP RETURN] = 10°C<BR>
[HOURLY TEMP PARENS] = 10°C
[HOURLY WIND FULL] = W 3 km/h
[HOURLY WIND] = 3 km/h
[HOURLY WIND PLAIN] = 3
[HOURLY WIND NO DIRECTION] = 3 km/h
[HOURLY WIND NO GUST] = W 3 km/h
[HOURLY WIND DIRECTION] = W
[HOURLY WIND DIRECTION PLAIN] = W

Daily Data Tags:

[DAILY CONDITION DAY] = Cloudy
[DAILY CONDITION NIGHT] = Rain
[DAILY DATE] = Apr 3
[DAILY DAY] = Monday
[DAILY DAY ABBREV] = Mon
[DAILY DAY ABBREV DN] = Mon (Night)
[DAILY DAY ABBREV SHORT] = M
[DAILY HI] = 6°C
[DAILY HI PARENS] = 6°C
[DAILY HI PLAIN] = 6
[DAILY HI RETURN] = 6°C<BR>
[DAILY HI SINGLE PLAIN] = 6°C
[DAILY ICON DAY] = C:/Users/HP_Administrator/AppData/Roaming/WeatherWatcherLive/Skins/Icons/WeatherBug/cond003.gif
[DAILY ICON NIGHT] = C:/Users/HP_Administrator/AppData/Roaming/WeatherWatcherLive/Skins/Icons/WeatherBug/cond003.gif
[DAILY LO] = 6°C
[DAILY LO PLAIN] = 6
[DAILY LO RETURN] = 6°C<BR>
[DAILY LO PARENS] = 6°C
[DAILY LO SINGLE PLAIN] = 42
[DAILY NIGHT] = Saturday Night
[DAILY NIGHT ABBREV] = Sat
[DAILY NIGHT ABBREV DN] = Sat Night
[DAILY NIGHT ABBREV SHORT] = S
[DAILY NUM] = 1
[DAILY PRECIPITATION DAY] = 70%
[DAILY PRECIPITATION NIGHT] = 70%
[DAILY PREDICTION DAY] = A 20 percent chance of a shower...mainly before 2 PM. Highs in the mid 60s.
[DAILY PREDICTION NIGHT] = Becoming mostly cloudy with scattered showers. Lows around 40.
[DAILY SUNRISE] = 6:48
[DAILY SUNRISE AMPM] = 6:48 AM
[DAILY SUNSET] = 7:34
[DAILY SUNSET AMPM] = 7:34 PM


Moon Tags:

[MOON DATE] = 4/12/2008 6:00:00 PM
[MOON DATE DAY] = 11
[MOON DAY] = Saturday
[MOON DAY ABBREV] = Sat
[MOON DAY ABBREV SHORT] = S
[MOON ICON] = C:/Users/HP_Administrator/AppData/Roaming/WeatherWatcherLive/Skins/Icons/WeatherBug/Moon/Northern/mphase08.gif
[MOON ILLUMINATION] = 50
[MOON PHASE] = First Quarter


Miscellaneous Tags:

[INSTALL LOCATION] = C:\Program Files\Weather Watcher Live
[INSTALL LOCATION ESC] = C:\\Program Files\\Weather Watcher Live
[INSTALL LOCATION SLASH] = C:/Program Files/Weather Watcher Live
[PROFILE LOCATION] = C:\Users\HP_Administrator\AppData\Roaming\WeatherWatcherLive
[PROFILE LOCATION ESC] = C:\\Users\\HP_Administrator\\AppData\\Roaming\\WeatherWatcherLive
[PROFILE LOCATION SLASH] = C:/Users/HP_Administrator/AppData/Roaming/WeatherWatcherLive
[SKIN FORECASTS] = Splendid
[SKIN ICONS] = Splendid


Additional Log-Only Tags:

[CRLF]
[TAB]


When using the Hourly, Daily or Moon tags, you must use them inside of a loop structure. See the following example for the loop structure syntax:

[HOURLY LOOP COUNT=5]
     [TEMPLATE]
          Day: [HOURLY DAY]
          Condition: [HOURLY CONDITION]
     [/TEMPLATE]
[/HOURLY LOOP]


Or, use multiple [TEMPLATE] tags to alternate row colors.

[HOURLY LOOP COUNT=5]
     [TEMPLATE]
          Day: [HOURLY DAY]
          Condition: [HOURLY CONDITION]            
     [/TEMPLATE]
     [TEMPLATE]
          Day: [HOURLY DAY]
          Condition: [HOURLY CONDITION]
     [/TEMPLATE]
[/HOURLY LOOP]


In the above examples, the Day Name and Condition will be printed for the next 5 hours. To print all of the available hours, use a "*" in place of the "5".

[HOURLY LOOP COUNT=*]
     [TEMPLATE]
          Day: [HOURLY DAY]
          Condition: [HOURLY CONDITION]
     [/TEMPLATE]
[/HOURLY LOOP]


The Daily and Detailed data can be looped using a similar syntax.

[DAILY LOOP COUNT=5]
     [TEMPLATE]
          [DAILY DAY]
          [DAILY CONDITION DAY]
     [/TEMPLATE]
[/DAILY LOOP]

[MOON LOOP COUNT=5]
     [TEMPLATE]
          [MOON DATE]                    
          [MOON ILLUMINATION]
          [MOON PHASE]
     [/TEMPLATE]
[/MOON LOOP]


You can use the optional [START] tag to specify which item to print first. To print the next 7 days starting tomorrow, set the [START] tag to "2".

[DAILY LOOP COUNT=7 START=2]
     [TEMPLATE]
          Day: [DAILY DAY]
          Condition: [DAILY CONDITION DAY]
     [/TEMPLATE]
[/DAILY LOOP]